// 此源代码的使用受BSD样式
// 许可证的约束，该许可证可以在许可证文件中找到。

// go:构建aix |达尔文|蜻蜓| freebsd | linux | netbsd | openbsd | solaris 

package unix

import (
	"syscall"
	_ "unsafe"
)

// go:linkname RecvfromInet4系统调用。recvfromInet4 
// go:noescape 
func RecvfromInet4(fd int, p []byte, flags int, from *syscall.SockaddrInet4) (int, error)

// go:linkname RecvfromInet6系统调用。recvfromInet6 
// go:noescape 
func RecvfromInet6(fd int, p []byte, flags int, from *syscall.SockaddrInet6) (n int, err error)

// go:linkname SendtoInet4系统调用。sendtoInet4 
// go:noescape 
func SendtoInet4(fd int, p []byte, flags int, to *syscall.SockaddrInet4) (err error)

// go:linkname SendtoInet6系统调用。sendtoInet6 
// go:noescape 
func SendtoInet6(fd int, p []byte, flags int, to *syscall.SockaddrInet6) (err error)

// go:linkname SendmsgNInet4系统调用。sendmsgNInet4 
// go:noescape 
func SendmsgNInet4(fd int, p, oob []byte, to *syscall.SockaddrInet4, flags int) (n int, err error)

// go:linkname SendmsgNInet6系统调用。sendmsgNInet6 
// go:noescape 
func SendmsgNInet6(fd int, p, oob []byte, to *syscall.SockaddrInet6, flags int) (n int, err error)

// go:linkname RecvmsgInet4 syscall。RecVMEngineT4 
// go:noescape 
func RecvmsgInet4(fd int, p, oob []byte, flags int, from *syscall.SockaddrInet4) (n, oobn int, recvflags int, err error)

// go:linkname RecVMEngineT6系统调用。RecVMEngineT6 
// go:noescape 
func RecvmsgInet6(fd int, p, oob []byte, flags int, from *syscall.SockaddrInet6) (n, oobn int, recvflags int, err error)
